package name.cyh.model.po;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.sql.Date;

import static com.baomidou.mybatisplus.annotation.IdType.AUTO;

/**
 * @author 18433
 */
@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
@TableName("coupons")
public class Coupon {
    @TableId(type = AUTO)
    private int couponId;
    private String discountType;
    private BigDecimal discountValue;
    private Date validityStartDate;
    private Date validityEndDate;
    private String status;
}
